package com.mediastory.spsserver.gcm.dao;

import java.util.List;
import java.util.Map;

import com.mediastory.spsserver.gcm.domain.Gcm;

/**
 * Gcm Dao
 * @author Jaewon Choi
 *
 */

public interface GcmDao {
	
	public List<Gcm> SelectList(Map<String, Object> condition) throws Exception;
	
	public Integer SelectListTotalCnt(Map<String, Object> condition) throws Exception;
	
	public Gcm select(Integer id) throws Exception;
	
	public Gcm select(Map<String, Object> condition) throws Exception;
	
	public Gcm insert(Gcm gcm) throws Exception;
	
	public Gcm update(Gcm gcm) throws Exception;
	
	public int delete(Map<String, Object> condition) throws Exception;
	
	//GCM DATA
	public List<Map<String, Object>> SelectListData(Map<String, Object> condition) throws Exception;
	
	public int insertData(Map<String, Object> condition) throws Exception;

	public int deleteData(Map<String, Object> condition) throws Exception;
	
	//GCM DEVICE
	public Object SelectListDevice(Map<String, Object> condition) throws Exception;
	
	public int insertDevice(Map<String, Object> condition) throws Exception;
	
	public int deleteDevice(Map<String, Object> condition) throws Exception;

}